package com.ruoyi.check.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 设备信息对象 sys_equipment
 * 
 * @author hugh.sun
 * @date 2023-02-22
 */
public class SysEquipment extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 设备ID */
    private Long id;

    /** 设备名称 */
    @Excel(name = "设备名称")
    private String name;

    /** 设备型号 */
    @Excel(name = "设备型号")
    private String type;

    /** 设备价格 */
    @Excel(name = "设备价格")
    private String value;

    /** 设备状态 */
    @Excel(name = "设备状态")
    private String state;

    /** 设备参数 */
    @Excel(name = "设备参数")
    private String parameter;

    /** 设备负责人 */
    @Excel(name = "设备负责人")
    private String principal;

    /** 设备生产厂家 */
    @Excel(name = "设备生产厂家")
    private String production;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setType(String type) 
    {
        this.type = type;
    }

    public String getType() 
    {
        return type;
    }
    public void setValue(String value) 
    {
        this.value = value;
    }

    public String getValue() 
    {
        return value;
    }
    public void setState(String state) 
    {
        this.state = state;
    }

    public String getState() 
    {
        return state;
    }
    public void setParameter(String parameter) 
    {
        this.parameter = parameter;
    }

    public String getParameter() 
    {
        return parameter;
    }
    public void setPrincipal(String principal) 
    {
        this.principal = principal;
    }

    public String getPrincipal() 
    {
        return principal;
    }
    public void setProduction(String production) 
    {
        this.production = production;
    }

    public String getProduction() 
    {
        return production;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("type", getType())
            .append("value", getValue())
            .append("state", getState())
            .append("parameter", getParameter())
            .append("principal", getPrincipal())
            .append("production", getProduction())
            .toString();
    }
}
